package com.tgy.mapper;

import com.tgy.entity.Blog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/***
 * @ClassName: BlogMapper
 * @Description:
 * @Auther: 送一一块二向箔
 * @Date: 9:51 2021/12/31
 * @version : V1.0
 */
@Mapper
public interface BlogMapper {
    @Select("select * from blog")
    List<Blog> findAll();
    List<Blog> getAll();
}
